Carbon


RemoveWindowProperty

Header: MacWindows.h Carbon status: Supported

Removes a piece of data that is associated with a window.

OSStatus RemoveWindowProperty (
    WindowRef window, 
    PropertyCreator propertyCreator, 
    PropertyTag propertyTag
);
window

A pointer to the window whose data is to be removed.

propertyCreator

The creator code (typically, the application’s signature) of the associated data to be removed.

propertyTag

The application-defined code identifying the associated data to be removed.

function result

A result code.

DISCUSSION

The data removed by the RemoveWindowProperty function must have been previously associated with the window with the function SetWindowProperty.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)